package cn.elead.it.sso.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "sso")
public class SsoProperties {

	private String server;

	private String logoutUrl = "/logout";

	private String excludedPaths;
	
	/** oauth的code模式使用*/
	private String codeCallback = "/codeCallback";
	
	/** oauth的单点用户获取*/
	private String ssoUserPath = "/getSsoUser";

	/** redis属性*/
	private RedisProperties redis = new RedisProperties();
	
	/** 单点客户端属性*/
	private ClientProperties client = new ClientProperties();
}
